<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/jsp/business/mngr/include/top.jsp" %>
	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="160" valign="top"><table width="145" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td valign="top">
				<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
					<tr>
						<td width="160" valign="top">
							<table width="145" border="0" cellspacing="0" cellpadding="0">
								<tr>
									<td height="23"><span class="style3">클라이언트 앱 관리</span></td>
								</tr>
								<tr>
									<td height="2" bgcolor="#6d6d6d"></td>
								</tr>
								<tr>
									<td height="10"></td>
								</tr>
								<tr>
									<td valign="top">
										<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
											<tr>
												<td height="28" align="left">- <a href="${requestScope.contextPath}/business/mngr/client/clientModifyForm.do?frfTp=Android" >안드로이드 앱</a></td>
											</tr>
											<tr>
												<td height="28" align="left">- <a href="${requestScope.contextPath}/business/mngr/client/clientModifyForm.do?frfTp=iPhone" >아이폰 앱</a></td>
											</tr>
											<tr>
												<td height="1" bgcolor="#e5e5e5"></td>
											</tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="30" valign="top">&nbsp;</td>
		</tr>
		<tr>
			<td valign="top"></td>
		</tr>
		<tr>
			<td height="50" valign="top">&nbsp;</td>
		</tr>
	</table>
</td>
<td width="1" valign="top" bgcolor="#e5e5e5"></td>
<td align="left" valign="top" style="padding-left:10px;">
	<table width="700" border="0" cellspacing="0" cellpadding="0">
	<tr>
		<td><img src="${requestScope.contextPath}/img/com/bullet02.gif"  align="absmiddle"><span class="style4">클라이언트 앱 관리</span></td>
		<td align="right" class="small">HOME &gt; 클라이언트 앱 관리 &gt; ${frfTp} 앱 관리</td>
	  </tr>
	  <tr>
		<td colspan="2">&nbsp;</td>
	  </tr>
	  <tr>
		<td colspan="2">

	<table border=0  cellpadding=0 cellspacing=0 width=100%>
	<tr>
		<td>

		<table width="100%" border="0" cellpadding="0" cellspacing="5" bgcolor="F0F9FC">
		<tr> 
			<td>
			<c:choose>
			<c:when test="${cntMap == null}">
				<form id="clientForm" action="${requestScope.contextPath}/business/mngr/client/clientWrite.do" method="post" enctype="multipart/form-data" onsubmit="return servWriteForm();">
				<input type="hidden" id="frfTp" name="frfTp" value="${frfTp}" />
				<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="BED7DF">
				<tr><td colspan="2" bgcolor=E7F6FB align="left"><font color="1CABD4"><b>&nbsp;&#149; ${frfTp} 앱 등록</b></font></td></tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" nowrap>&nbsp;<font color="red"></font><font color="000000"><font color="red">*</font> 클라이언트 앱 버전</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left"><input type="text" id="frfVer" name="frfVer" class="buttonC"> (01.00.00)</td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" nowrap>&nbsp;<font color="red"></font><font color="000000"><font color="red">*</font> 클라이언트 앱 명</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">kolonapp</td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" valign=top nowrap>&nbsp;<font color="red">*</font><font color="000000"> 클라이언트 앱 파일</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">
						<input type="file" id="appFile1" name="appFile1" class="buttonC" size="40"> (실행될 파일 첨부 plist, apk)<br/> 
						<input type="file" name="appFile2" class="buttonC" size="40"><br/>
						<input type="file" name="appFile3" class="buttonC" size="40"><br/>
					</td>
				</tr>
				</table>
				<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="BED7DF">
				<tr>
					<td colspan="2" bgcolor=FFFFFF height="50" align="center">
						<input type="submit" value="확인" ><input type="button" value="취소" onclick="javascript:history.back();" ><br><br>
					</td>
				</tr>
				</table>
				</form>
			</c:when>
			<c:otherwise>
				<form id="clientMdfyForm" action="${requestScope.contextPath}/business/mngr/client/clientModify.do" method="post" enctype="multipart/form-data" onsubmit="return clientMdfyForm();">
				<input type="hidden" id="frfTp" name="frfTp" value="${frfTp}" />
				<input type="hidden" id="appVerChk" value="N" />
				<table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="BED7DF">
				<tr><td colspan="2" bgcolor=E7F6FB align="left"><font color="1CABD4"><b>&nbsp;&#149; ${frfTp} 앱 수정 (<a href="${requestScope.contextPath}/business/mngr/client/clientList.do?pop=Y&amp;frfTp=${cntMap.FRF_TP}" onclick="window.open(this.href,'cntListPopUp','height=500, width=800');return false;">앱 히스토리</a>)</b></font></td></tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" nowrap>&nbsp;<font color="red"></font><font color="000000"><font color="red">*</font> 클라이언트 앱 버전</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">
						<input type="hidden" id="frfVerCopy" value="${cntMap.FRF_VER}" />
						<input type="text" id="frfVer" name="frfVer" class="buttonC" value="${cntMap.FRF_VER}"> <input type="button" value="중복체크" onclick="clientHstyVerChk_('${cntMap.FRF_VER}');" />
					</td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" nowrap>&nbsp;<font color="red"></font><font color="000000"><font color="red">*</font> 클라이언트 앱 명</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">kolonapp</td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" valign=top nowrap>&nbsp;<font color="red">*</font><font color="000000"> 앱 파일</font>&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">
						<input type="file" id="appFile1" name="appFile1" class="buttonC" size="40" /> <c:if test="${cntMap.FILE_R_NM_1 ne ''}">(<a href="${requestScope.contextPath}/business/mngr/client/clientDownload.do?frfTp=${cntMap.FRF_TP}&amp;fileNum=1">${cntMap.FILE_R_NM_1}</a>)</c:if><br/> 
						<input type="file" name="appFile2" class="buttonC" size="40" /> <c:if test="${cntMap.FILE_R_NM_2 ne ''}">(<a href="${requestScope.contextPath}/business/mngr/client/clientDownload.do?frfTp=${cntMap.FRF_TP}&amp;fileNum=2">${cntMap.FILE_R_NM_2}</a>)</c:if><br/> 
						<input type="file" name="appFile3" class="buttonC" size="40" /> <c:if test="${cntMap.FILE_R_NM_3 ne ''}">(<a href="${requestScope.contextPath}/business/mngr/client/clientDownload.do?frfTp=${cntMap.FRF_TP}&amp;fileNum=3">${cntMap.FILE_R_NM_3}</a>)</c:if><br/>
					</td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" valign=top nowrap>&nbsp;등록 일시&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">${cntMap.RGST_DTTM}</td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" valign=top nowrap>&nbsp;수정 일시&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">${cntMap.MDFY_DTTM}</td>
				</tr>
				<tr>
					<td  bgcolor="ffffff"  align="right" valign=top nowrap>&nbsp;최근 업그레이드 일시&nbsp;</td>
					<td  bgcolor="ffffff"  align="left">${cntMap.UPGD_DTTM}</td>
				</tr>
				</table>
				<table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="BED7DF">
				<tr>
					<td colspan="2" bgcolor=FFFFFF height="50" align="center">
						<a href="${requestScope.contextPath}/business/mngr/client/clientUpgradeForm.do?pop=Y&amp;frfTp=${cntMap.FRF_TP}" onclick="window.open(this.href,'clientUpgradeForm','height=500, width=500');return false;">업그레이드</a>&nbsp;&nbsp;&nbsp;
						<input type="submit" value="확인" >&nbsp;&nbsp;&nbsp;
						<a href="${requestScope.contextPath}/business/mngr/client/clientDelete.do?frfTp=${cntMap.FRF_TP}" onclick="goDel(this.href); return false;">삭제</a>
					</td>
				</tr>
				</table>
				</form>
			</c:otherwise>
			</c:choose>
			
			</table>
			</td>
			</tr>
		</table>
	</td>
</tr>
</table>
	
<%@ include file="/WEB-INF/jsp/business/mngr/include/footer.jsp" %>